package org.example.gxpt.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("展厅管理员查询返回的数据格式")
public class ShowroomAdminQueryVO {

    private Long id;

    private Long showroomId;

    private String username;

    private String name;

    private String password;

    private String phone;

    private String email;

    private String avatar;

    private String organization;

    private String sex;

    private Integer status;

    private String showroomName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;
}
